{extend name="Public:public_template" /}
{block name="container"}
<div class="main-container">
    <div class="current-location">
        <dl>
            <dt>当前位置：</dt>
            <dd>系统首页<span>></span></dd>
        </dl>
    </div>
    <table width="100%" cellpadding="0" cellspacing="0">
        <tr>
            <td valign="top" width="48%">
                <h1>管理员最近一段登录</h1>
                <table width="100%" cellpadding="0" cellspacing="0" style="border: 0">
                    <tr>
                        <th width="33%">用户名</th>
                        <th width="33%">登录时间</th>
                        <th>登录IP</th>
                    </tr>
                    {volist name="adminloginlog" id="vo"}
                    <tr>
                        <td>{$vo['admin_username']}</td>
                        <td>{$vo['login_time']}</td>
                        <td>{$vo['login_ip']}</td>
                    </tr>
                    {/volist}
                </table>
            </td>
            <td width="4%" style="border-right: 1px solid #e6e6e6; border-left: 1px solid #e6e6e6; height: 100%">&nbsp;</td>
            <td valign="top" width="48%">
                <h1>活跃用户</h1>
                <table width="100%" cellpadding="0" cellspacing="0" style="border: 0">
                    <tr>
                        <th width="25%">用户名</th>
                        <th width="25%">登录次数</th>
                        <th width="25%">登录时间</th>
                        <th>登录IP</th>
                    </tr>
                    {volist name="memberloginlog" id="vo"}
                    <tr>
                        <td>{$vo['username']}</td>
                        <td>{$vo['login_count']}</td>
                        <td>{$vo['login_time']}</td>
                        <td>{$vo['login_ip']}</td>
                    </tr>
                    {/volist}
                </table>
            </td>
        </tr>
    </table>
    <table width="100%" cellpadding="0" cellspacing="0" style="margin-top: 20px;">
        <tr>
            <td valign="top" width="48%">
                <h1>修改余额记录</h1>
                <table width="100%" cellpadding="0" cellspacing="0" style="border: 0">
                    <tr>
                        <th width="25%">操作管理员</th>
                        <th width="25%">操作会员</th>
                        <th width="25%">操作金额</th>
                        <th>操作时间</th>
                    </tr>
                    {volist name="updatebalancelist" id="vo"}
                    <tr>
                        <td>{$vo['adminusername']}</td>
                        <td>{$vo['memberusername']}</td>
                        <td>{$vo['balance']}</td>
                        <td>{$vo['inputtime']}</td>
                    </tr>
                    {/volist}
                </table>
            </td>
            <td width="4%" style="border-right: 1px solid #e6e6e6; border-left: 1px solid #e6e6e6; height: 100%">&nbsp;</td>
            <td valign="top" width="48%">
                <h1>修改积分记录</h1>
                <table width="100%" cellpadding="0" cellspacing="0" style="border: 0">
                    <tr>
                        <th width="25%">操作管理员</th>
                        <th width="25%">操作会员</th>
                        <th width="25%">操作积分</th>
                        <th>操作时间</th>
                    </tr>
                    {volist name="integralloglist" id="vo"}
                    <tr>
                        <td>{$vo['adminusername']}</td>
                        <td>{$vo['memberusername']}</td>
                        <td>{$vo['integral']}</td>
                        <td>{$vo['inputtime']}</td>
                    </tr>
                    {/volist}
                </table>
            </td>
        </tr>
    </table>
    <table width="100%" cellpadding="0" cellspacing="0" style="margin-top: 20px;">
        <tr>
            <td colspan="2" style="font-size: 16px; font-weight: bold; line-height: 40px;">系统信息</td>
        </tr>
        <tr>
            <td valign="top" width="50%">
                <table width="100%" cellpadding="0" cellspacing="0" style="border: 0">
                    <tr>
                        <td width="25%">服务器操作系统:</td>
                        <td class="text-align">{$sys_info['os']}</td>
                    </tr>
                    <tr>
                        <td width="25%">服务器环境:</td>
                        <td class="text-align">{$sys_info['web_server']}</td>
                    </tr>
                    <tr>
                        <td width="25%">Mysql 版本:</td>
                        <td class="text-align">{$sys_info['mysql_version']}</td>
                    </tr>
                    <tr>
                        <td width="25%">文件上传限制:</td>
                        <td class="text-align">{$sys_info['fileupload']}</td>
                    </tr>
                    <tr>
                        <td width="25%">最大执行时间:</td>
                        <td class="text-align">{$sys_info['max_ex_time']}</td>
                    </tr>
                    <tr>
                        <td width="25%">Zlib支持:</td>
                        <td class="text-align">{$sys_info['zlib']}</td>
                    </tr>
                </table>
            </td>
            <td valign="top" width="50%">
                <table width="100%" cellpadding="0" cellspacing="0" style="border: 0">
                    <tr>
                        <td width="25%">服务器域名/IP:</td>
                        <td class="text-align">{$sys_info['domain']} [ {$sys_info['ip']} ]</td>
                    </tr>
                    <tr>
                        <td width="25%">PHP 版本:</td>
                        <td class="text-align">{$sys_info['phpv']}</td>
                    </tr>
                    <tr>
                        <td width="25%">GD 版本:</td>
                        <td class="text-align">{$sys_info['gdinfo']}</td>
                    </tr>
                    <tr>
                        <td width="25%">最大占用内存:</td>
                        <td class="text-align">{$sys_info['memory_limit']}</td>
                    </tr>
                    <tr>
                        <td width="25%">安全模式:</td>
                        <td class="text-align">{$sys_info['safe_mode']}</td>
                    </tr>
                    <tr>
                        <td width="25%">Curl支持:</td>
                        <td class="text-align">{$sys_info['curl']}</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
{/block}